<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>文字或图片上下滚动</title>
	<style type="text/css">
	ul{height:210px;overflow:hidden;}
	li{line-height:20px;}
	</style>
</head>
<body>
	<ul id="marquee">
		<li>1111111111</li>
		<li>2222222222</li>
		<li>3333333333</li>
		<li>4444444444</li>
		<li>5555555555</li>
		<li>6666666666</li>
		<li>7777777777</li>
		<li>8888888888</li>
		<li>9999999999</li>
		<li>0000000000</li>
	</ul>
</body>
</html>
<script type="text/javascript" src="marquee.js"></script>
<script type="text/javascript">
window.onload = function() {
	setTimeout("startmarquee(34, 50, 0, 'marquee')", 4000);
}
</script>